﻿<UserControl x:Class="WPFImageWindows.VideoControl"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        SizeChanged="UserControl_SizeChanged" >

    <Grid Background="Black">
        <Grid.RowDefinitions>
            <RowDefinition Height="80*" />
            <RowDefinition Height="20" />
        </Grid.RowDefinitions>

        <ScrollViewer Grid.RowSpan="2"  CanContentScroll="False" x:Name="ScrollViewerThing" HorizontalScrollBarVisibility="Hidden"  VerticalScrollBarVisibility="Hidden" SizeChanged="ScrollViewerThing_SizeChanged" Cursor="Hand" >
            <Image x:Name="videoimage" Stretch="Uniform" />
        </ScrollViewer>
        <Label Foreground="White" Name="labelStatus" HorizontalAlignment="Center" Grid.Row="1" VerticalAlignment="Top"></Label>

    </Grid>
  
</UserControl>
